
package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 运营商虚拟产品数量表
 *
 * @author lxy
 * @date 2020-02-13
 */
@Data
@TableName("opt_line_product")
@EqualsAndHashCode(callSuper = true)
public class OptLineProduct extends Model<OptLineProduct> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 虚拟产品id
	 */
	private Integer productId;
	/**
	 * 运营商id
	 */
	private Integer optId;
	/**
	 * 数量
	 */
	private Integer amount;
}
